#pragma once
namespace LTGame
{
	class G2U
	{
	public:
		static int u2g(char *inbuf,unsigned int inlen,char *outbuf,unsigned int outlen);
		static int g2u(char *inbuf,unsigned int inlen,char *outbuf,unsigned int outlen);

	private:
		static int code_convert(char *from_charset,char *to_charset,char *inbuf,unsigned int inlen,char *outbuf,unsigned int outlen);
		G2U(){};
		~G2U(){};
	};
}